-- GENERATED SPELL FOR [Gibbering Ghoul] --


function spell0_8531(pUnit, Event) --@Curse of Tongues,n/a--
pUnit:FullCastSpellOnTarget(13338,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8531', 15319, 1)
end

function Sorts_8531(pUnit, Event)
local choix_sorts_8531 = math.random(0, 0)
if choix_sorts_8531 == 0 then
pUnit:RegisterEvent('spell0_8531', 1, 1)
end
end

function mob8531_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8531', math.random(1500, 3000), 1)
end

function mob8531_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8531_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8531_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8531, 1, 'mob8531_Action')
RegisterUnitEvent(8531, 2, 'mob8531_Leave')
RegisterUnitEvent(8531, 3, 'mob8531_Kill')
RegisterUnitEvent(8531, 4, 'mob8531_Die')
